package com.ruoyi.job.task;

import com.ruoyi.common.core.constant.SecurityConstants;
import com.ruoyi.system.api.RemoteGgSearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 * 
 * @author ruoyi
 */
@Component("ggSearchTask")
public class GgSearchTask
{
    @Autowired
    private RemoteGgSearchService remoteGgSearchService;

    public void goSearch()
    {
        System.out.println("执行无参方法goSearch()");
        remoteGgSearchService.goSearch(SecurityConstants.INNER);
    }
}
